﻿using System;
using System.Data;
using System.Collections.Generic;

using Com.Framework.Data;
using Com.Library.DB;

namespace Com.Library.DB.Store
{
	internal class StoreGetList : DBDataReader<StoreEntity, OutputEntity>
	{
		public StoreGetList()
			: base(new ConnectionString(), "TSP_Store_GetList")
		{
		}

		protected override void ParameterInitialize()
		{
			AddParameter("IsActive", SqlDbType.Char, 1, SqlDataInOut.Input);
			AddParameter("PageNo", SqlDbType.Int, 4, SqlDataInOut.Input);
			AddParameter("PageSize", SqlDbType.TinyInt, 1, SqlDataInOut.Input);
			AddParameter("CntRow", SqlDbType.Int, 4, SqlDataInOut.Output);
			AddParameter("CntTotal", SqlDbType.Int, 4, SqlDataInOut.Output);
		}
	}
}